{template member/header}
<link href="{ADMIN_THEME}images/table_form.css" rel="stylesheet" type="text/css" />
<link href="{ADMIN_THEME}images/dialog.css" rel="stylesheet" type="text/css" />
<!--Wrapper-->
<div id="wrapper">
	<div class="top"></div>
	<div class="center">
	    <div class="center_left">
	        <h3>阅读收费</h3>
			<div class="menu_left">
			<ul>
            {loop $navigation $n=>$t}
                <li {if $n=='index'} class="on"{/if}><a href="{$t['url']}">{$t['name']}</a></li>
            {/loop}
			</ul>
			</div>
        </div>
		<div class="center_right">
            <div class="title_right1"></div>
			<div class="content_info">
              <table width="100%" class="table_form">
                <tbody>
                    <tr>
                        <th width="100">订单ID：</th>
                        <td><?php echo $data['id']?></td>
                    </tr>
                    <tr>
                      <th>文档标题：</th>
                      <td><?php echo $data['title']?></td>
                    </tr>
                    <tr>
                        <th>商品金额：</th>
                        <td><font style="color:#F00;font-size:22px;font-family:Georgia,Arial;font-weight:700">{$data['price']}</font>元</td>
                    </tr>
                    <tr>
                    <th>订单状态：</th> 
                    <td>
                    <?php
                    if ($data['status'] == 0) {
                        echo '未付款 <a href="' . purl('member/pay', array('id'=>$data['id'])) . '">立即去付款</a>';
                    } else {
					    echo '交易成功，时间：' . date('Y-m-d H:i:s', $data['paytime']);
                    }
                    ?>
                    </td>
                    </tr>
                </tbody>
                </table>
		    </div>
        </div>
	</div>
    <div class="bottom"></div>
</div>
<!--Wrapper End-->
{template member/footer}